package com.common.model.action;

import java.io.Serializable;
import java.util.Calendar;

import com.common.model.util.UserType;

public class Session implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private String id;
	private Long userId;
	private UserType userType;
	private Calendar time;
	
	public Session() {}
	
	public Session(String id, Long userId, UserType userType, Calendar time) {
		this.id = id;
		this.userId = userId;
		this.userType = userType;
		this.time = time;
	}
	
	public String getId() {
		return id;
	}
	
	public void setId(String id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Calendar getTime() {
		return time;
	}

	public void setTime(Calendar time) {
		this.time = time;
	}

	public UserType getUserType() {
		return userType;
	}

	public void setUserType(UserType userType) {
		this.userType = userType;
	}
}
